package com.woniuxy.mesboot.service;

import com.woniuxy.mesboot.dto.TicketsDetailsDTO;
import com.woniuxy.mesboot.dto.WorkTicketsDTO;
import com.woniuxy.mesboot.entity.MesWorktickets;
import com.woniuxy.mesboot.vo.TicketDetailsVO;
import com.woniuxy.mesboot.vo.WorkTicketVO;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @author : 黑川
 * @version : 1.0
 * @Project : mes-boot
 * @Package : com.woniuxy.mesboot.service
 * @ClassName : .java
 * @createTime : 2023/5/24 9:41
 * @Description :
 */
public interface WorkTicketsService {
    int selectIdByNo(String ticketNo);

    List<TicketDetailsVO> selectAllDetails(Integer id);

    List<WorkTicketVO> selectAll(WorkTicketsDTO tickets);

    int deleteByPrimaryKey(Integer ticketId);

    int insert(MesWorktickets record);

    int insertSelective(TicketsDetailsDTO detailsDTO);

    MesWorktickets selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(MesWorktickets record);

    int updateByPrimaryKey(MesWorktickets record);
}
